﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IHISCETeim.BLL;
using IHISCETeim.Library;
using IHISCETeim.Model;
using System.Data;

namespace IHISCETeim.Web.MachineSys.UserModel.ExportExecl
{
    public partial class ExportExeclUAgentMacStockList : UAgentMacStockList
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataBind();
          
        }
      
        protected void DataBind()
        {
            DataTableCollection DTC = UAgentMacStockController.GetPagination(GetSqlWhere(), pageNum, 99999999, SQLSort, ref TotalCount);
            this.rpMenu.DataSource = DTC[0];
            this.rpMenu.DataBind();
            SUMDT = DTC[1];

            base.ExportToExecl("代理商样机保养管制表", this.rpMenu);
        }
    }
}